import { createRouter,createWebHistory, RouteRecordRaw} from "vue-router";

const routes:Array<RouteRecordRaw>=[
    {
        path:'/',
        component:()=>import('../View/Register.vue')
    },
    {
        path:'/Ulogin',
        component:()=>import('../View/Ulogin.vue')
    },
    {
        path:'/AddInfo',
        component:()=>import('../View/AddInfo.vue')
    },
    {
        path:'/ShowInfo',
        component:()=>import('../View/ShowInfo.vue')
    },
]

const Router=createRouter({
    history:createWebHistory(),
    routes
})
export default Router




